import Vue from 'vue'
import App from './App.vue'
import vueRouter from 'vue-router';
import router from "@/router";

import TypeNav from "@/components/TypeNav/index.vue";
import Carsouel from "@/components/Carsouel/index.vue";
import Pagination from "@/components/Pageination/index.vue";

import store from "@/store";
import '@/mock/mockServe'
import 'swiper/css/swiper.css'

Vue.config.productionTip = false

Vue.use(vueRouter)
Vue.component(TypeNav.name, TypeNav)
Vue.component(Carsouel.name, Carsouel)
Vue.component(Pagination.name, Pagination)
new Vue({
    render: h => h(App),
    beforeCreate() {
        Vue.prototype.$bus = this
    },
    router,
    store,
}).$mount('#app')